package com.ruoyi.agency.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构员工对象 staff
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public class Staff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long staffId;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String staffName;

    /** 机构id */
    private Long agencyId;

    /** 机构名称 */
    private String agencyName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public String getAgencyName() {
        return agencyName;
    }

    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
    }

    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }
    public void setAgencyId(Long agencyId) 
    {
        this.agencyId = agencyId;
    }

    public Long getAgencyId() 
    {
        return agencyId;
    }
    public void setContactTel(String contactTel) 
    {
        this.contactTel = contactTel;
    }

    public String getContactTel() 
    {
        return contactTel;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("staffId", getStaffId())
            .append("staffName", getStaffName())
            .append("agencyId", getAgencyId())
            .append("contactTel", getContactTel())
            .append("email", getEmail())
            .append("entryTime", getEntryTime())
            .append("notes", getNotes())
            .toString();
    }
}
